Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure heartbeat task is cancelled after execution #63

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

maxcountryman
Copy link
Owner

This fixes an issue where the heartbeat spawned task would continue to run indefinitely, even after execution had been completed. We address this by incorporating the join handle as a select branch, ensuring that the future is cancelled when either the execution finishes or it times out.

This fixes an issue where the heartbeat spawned task would continue to
run indefinitely, even after execution had been completed. We address
this by incorporating the join handle as a select branch, ensuring that
the future is cancelled when either the execution finishes or it times
out.
@maxcountryman maxcountryman merged commit ff1ff33 into main Nov 13, 2024
4 checks passed
@maxcountryman maxcountryman deleted the cancel-heartbeat-task branch November 13, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant